<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>删除下拉列表中的选项</title>
</head>

<body>
    <form>
        <select id="mySelect">
            <option>苹果</option>
            <option>梨子</option>
            <option>香蕉</option>
            <option>橙子</option>
        </select>
        <input type="button" onclick="removeOption()" value="移除你的选项">
    </form>
    <script>
        function removeOption() {
            var x = document.getElementById("mySelect");
            x.remove(x.selectedIndex);
        }
    </script>
</body>

</html>